home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
033a
/
comzipv2.zip
/
COMZIPV.DOC
next >
Wrap
Text File
|
1989-09-16
|
8KB
|
233 lines
ComZipv version 1.2 for PCBoard 14.?
by Dennis Wynne
Troll's Cave PCBoard (615) 242-7909 1200/2400
What ComZipv Does:
Acts as a replacement for your current ZIP view program (F V command).
When called, ComZipv interrogates the serial port and saves the current
state and interrupt vector. The program then displays the contents of
the ZIP file indicated by the %1 argument passed from PCBoard. All output
is sent directly out the com port and echoed to the local BBS screen.
The user is then prompted to read files contained in the ZIP, test the
integrity of the ZIP, list zip contents again, or quit back to bbs.
Input is checked for constantly at both the com port and the local
keyboard. In addition there is an internal timer, if the user sits at
a prompt too long (2-3 minutes) the program supplies a negative response
(if at a More prompt, a N is supplied, if at the Main prompt the user is
'Quit' back to PCBoard. The sysop can interrupt at any time by hitting
one of the function keys.
Version 1.2 introduces a couple of new features:
The ability (as set by the SysOp) to select other ZIP files to view.
A timelimit (can be set by SysOp) that defaults to 10 minutes.
Will now handle 'Imploded' files.
All routines are internal to ComZipv, it does not shell out to call
PkUnzip, etc. The program does not do any dynamic memory allocation so
the program should run fine in about 90k.
ComZipv take wildcards for the file to be read, it tries to
intelligently parse this filespec, unlike DOS (Ex: *CH.* will show all
the files that have a CH in the filename, any extension. DOS would show
all the files). Before a file is displayed it is 'analyzed' to see if it
can be displayed in text format, if it appears that it cannot, it will be
displayed in hex dump format complete with offset, hex bytes, and
'printable' characters.
ComZipv monitors the carrier detect state, and will immediately return
to PCBoard if carrier is lost.
ComZipv makes an 'empty' PCBVIEW.TXT file for PCBoard to display
when the caller returns to PCBoard.
All serial port parameters/interrupts are restored to their original
state before the program exits.
NOTE: ComZipv has no way of knowing if you are in 'LOCAL' mode, so if
carrier detect is not active when the program starts it will act
like the normal View program. It will create a PCBVIEW.TXT file
and write the 'view' to it for pcboard to display. So in local
mode you will not get the benefit of the Test, Read,and Change
Zip file functions.
Usage:
ComZipv ZipFileSpec[.ZIP] Comport [TimeLimit]
where ZipFileSpec is fully qualified, complete with Drive, Path, and
FileName. The .ZIP extension is optional.
where Comport is 1, 2, 3, or 4.
{I know PCBoard only supports 1 & 2, but 3 & 4 are there
for completeness/testing}
where TimeLimit is optional time allowed in ComZipv (1-999 minutes)
default is ten minutes.
or ComZipv /SETUP
to change the BBS name, Prompt, and page length.
Example:
If your current PCBVIEW.BAT file contained this:
PKUNZIP -V %1 > PCBVIEW.TXT
Replace that line with:
COMZIPV %1 1 15
Note: Do not use the redirection ( > PCBVIEW.TXT ) or the caller will
have to look at all the data twice, and the local monitor can
remain blank for several minutes.
Setup:
ComZipv can modify itself, allowing you to change:
1) The BBS Name. Currently Set for: Troll's Cave
2) The Prompt. Currently Set for:
(R)ead Zip contents, (L)ist ZIP again, (T)est ZIP, (Q)uit to BBS :>
3) The Page Length. Currently Set for 23
Run ComZipv /SETUP
Alter the items you want to change
Save the changes (ComZipv will find and alter itself)
To Allow callers to select a different ZIP file:
Place a text file called COMZIPV.DIR in your 'default' PCB directory
(i.e. C:\PCB\) that contains every Drive\Path combination that you
want searched.
If this file is omitted, the C)hange ZIP File option will NOT be
present (or allowed).
Example:
E:\I14
G:\I1
G:\I3
F:\I2
F:\I4
H:\I5
H:\I6
H:\I10
J:\I11
J:\I12
J:\I13
K:\I7
K:\I8
K:\I9
Would search all of the above drive:\path combinations for the
next file chosen by the caller. Note that the current (default PCB
directory is NOT searched for the new ZIP file).
Bugs, Changes, and Improvements:
If you encounter any bugs or have any suggestions for improvements
in ComZipv please call my board or leave me a message on Salt Air.
I would like to speed up the test and read times, and will be working
toward that goal.
Notes:
ComZipv opens the Zipfile in share compatible 'deny-none' mode.
The SysOp can hit a function key at any time to interrupt or
return the caller to PCBoard.
The caller can hit Control X, Control C, Control S, or Control Q
to interrupt the display (and produce a More Y/N/C prompt) at any
time.
To test the 'on-line' features of ComZipv on your computer you can:
1) Set up your modem with AT&C0&D0Q1E0
(This will turn on Carrier Detect to fool ComZipv and
disable Echo and Command results)
2) Then run ComZipv and give it the complete path & name of a
Zip file, plus the Comport for your modem.
3) Don't forget to reset your modem when done.
4) HINT: After you set up the modem as in step 1,
change the baud rate up to a high rate (9600+).
This will allow your display to scroll faster.
Version History:
Release 1.0 - Initial Release 7/23/89
Release 1.1 - 07/24/89
Found odd bug: if reading text file and a cr/lf
occurred at the exact end of internal buffer, the
program would start displaying garbage.
Release 1.2 - 09/16/89
Lots of new stuff: Imploded files now supported,
time limit, choosing other files to View, Read, or
Test.
Disclaimer:
I wrote ComZipv for myself to allow callers to read and test ZIP files
without having to Open ProDoor. I run this exact program on my three node
PCBoard setup with no problems. I assume no responsibility for the results of
using this program. If there are any bugs in this program, let me know, I'll
try to fix them. If you decide to use this program, any damages, loss of
use, etc. are YOUR responsibility.
Dennis Wynne
Troll's Cave PCBoard Mail: P.O. Box 101030
(615)242-7909 1200/2400 Nashville, TN 37210
Registration:
There isn't any ! These programs are free to my fellow SysOp's (or anyone
else who wants to use them).
Optional (NOT Required at all):
If you send a donation of $10 or more, along with your BBS phone number(s),
and a valid logon for me to use. I'll call YOU and upload the latest versions
as I make changes, fix bugs, etc.
p.s. I you like and use ComZipv, please call the board sometime and let me
know (or leave me a note on Salt Air or RelayNet).
p.s.s. Like I always say: It's Troll-Ware, so it's FREE!!!!!